package run.siyuan.jdk.设计模式.模板模式.模板模式案例1;

/**
 * @className: HummerH1Model
 * @Description: TODO 模板模式-悍马1
 * @author: siyuan
 * @date: 2022/3/17 10:08 AM
 */
public class HummerH1Model extends HummerModel {
    //H1型号的悍马车鸣笛
    public void alarm() {
        System.out.println("悍马H1鸣笛...");
    }

    //引擎轰鸣声
    public void engineBoom() {
        System.out.println("悍马H1引擎声音是这样的...");
    }

    //汽车发动
    public void start() {
        System.out.println("悍马H1发动...");
    }

    //停车
    public void stop() {
        System.out.println("悍马H1停车...");
    }

}
